package com.rpc.tagparser;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author didi
 * @DESCRIPTION
 * @create 2018-06-07 下午4:01
 **/

public class LRpcNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {

        registerBeanDefinitionParser("service", new ServiceConfigBeanDefinitionParser());
        registerBeanDefinitionParser("reference", new ReferenceConfigBeanDefinitionParser());
    }
}
